package fictional.Common;

import java.util.Date;

/**
 * A class represents a wall post
 */
public class WallItem extends SocialItem {
	
	public WallItem(int id, Date date, ShortCharacterItem poster, ShortCharacterItem receiver, String text) {
		super(id, poster, receiver, date);
		this.text = text;	
	}
			
	public String getText() {
		return text;
	}
	
	public ShortCharacterItem getPoster() {
		return super.getSender();
	}
		
	private String text;
}
